#include "www_data.h"

/***********************************************************************************************
// wwwMemo
************************************************************************************************/
wwwMemo::wwwMemo()
{
}
/*
wwwMemo::wwwMemo(QString mtitle, QString mcontent, QDate mdate, QIcon mimage_icon, QString mimage_name, QTableWidgetItem* mlocation)
{
    title = mtitle;
    content = mcontent;
    date = mdate;
    image_icon = mimage_icon;
    image_name = mimage_name;
    location = mlocation;
}
*/
/***********************************************************************************************
// wwwGPS
************************************************************************************************/
wwwGPS::wwwGPS()
{
}

/***********************************************************************************************
// wwwimage
************************************************************************************************/


wwwImage::wwwImage()
{
}
/*
wwwimage::wwwimage(QString iview, QString iname, QString itag, QString idate, QString igroup, QString ipath)
{
    view = iview;
    name = iname;
    tag = itag;
    date = idate;
    group = igroup;
    path = ipath;
}

wwwimage::wwwimage(const QDomElement &e)
{
    view = e.attribute("view", "");
    name = e.attribute("name", "");
    tag = e.attribute("tag", "");
    date = e.attribute("date", "");
    group = e.attribute("group", "");
    path = e.attribute("path", "");
}

QDomElement wwwimage::createXMLNode(QDomDocument &d)
{
    QDomElement cn = d.createElement("image");

    cn.setAttribute("view", view);
    cn.setAttribute("name", name);
    cn.setAttribute("tag", tag);
    cn.setAttribute("date", date);
    cn.setAttribute("group", group);
    cn.setAttribute("path", path);

    return cn;
}
*/
/***********************************************************************************************
// wwwdata
************************************************************************************************/


wwwdata::wwwdata()
{
}
/*
wwwdata::wwwdata(int Iimage_count, int Itime_count, int Ispot_count, int Itag_count)
{
    image_count = Iimage_count;
    time_count = Itime_count;
    spot_count = Ispot_count;
    tag_count = Itag_count;
}
QDomElement wwwdata::createXMLNode(QDomDocument &d)
{
    QDomElement cn = d.createElement("wwwdata");

    cn.setAttribute("image", image_count);
    cn.setAttribute("time", time_count);
    cn.setAttribute("spot", spot_count);
    cn.setAttribute("tag", tag_count);

    return cn;
}
*/
